package com.marquee.manager;

import android.content.Context;
import android.content.SharedPreferences;

public class Manager_Shared
{
  Context mContext;
  
  public Manager_Shared(Context paramContext)
  {
    this.mContext = paramContext;
  }

  public String getPref_GCMStatus()
  {
    return this.mContext.getSharedPreferences("PrefSpace", 0).getString("GCMStatus", "FALSE");
  }
  

  public void setPref_GCMStatus(String paramString)
  {
    SharedPreferences.Editor localEditor = this.mContext.getSharedPreferences("PrefSpace", 0).edit();
    localEditor.putString("GCMStatus", paramString);
    localEditor.commit();
  }
  
  
  
  public String getPref_RecommandStatus()
  {
    return this.mContext.getSharedPreferences("PrefSpace", 0).getString("RecommandStatus", "FALSE");
  }
  

  public void setPref_RecommandStatus(String paramString)
  {
    SharedPreferences.Editor localEditor = this.mContext.getSharedPreferences("PrefSpace", 0).edit();
    localEditor.putString("RecommandStatus", paramString);
    localEditor.commit();
  }
  
  public String getPref_LoginStatus(){
	  return this.mContext.getSharedPreferences("PrefSpace", 0).getString("isLogin", "null");
  }
  public void setPref_Loginstatus(String paramString){
	  SharedPreferences.Editor localEditor = this.mContext.getSharedPreferences("PrefSpace", 0).edit();
	    localEditor.putString("isLogin", paramString);
	    localEditor.commit();
  }

}
